<?php

$frase = "hola que tal";

$arrayFrase = explode(" ", $frase);

foreach ($arrayFrase as $key => $value) {
	echo "clave: $key valor: '$value'\n<br />";
}


?>